package com.cnn.function.stock.service;

import com.cnn.function.stock.pojo.Stock;
import com.cnn.function.stock.pojo.StockInDetails;

import java.util.List;

public interface StockService {

    void addStock(Stock stock);

    void updateStcok(Stock stock);

    Stock getStockById(Long id);

    void deleteStock(Long id);

    List<Stock> getStock();


    List<Stock> getStockBySku(String sku);


    void inToStock(StockInDetails stockInDetails);
}
